package com.liu.test.service.serviceImpl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.liu.test.entity.LdrGoods;
import com.liu.test.mapper.GoodsMapper;
import com.liu.test.service.LdrGoodsService;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class LdrGoodsServiceImpl extends ServiceImpl<GoodsMapper, LdrGoods> implements LdrGoodsService {
    @Override
    public List<LdrGoods> getAllGoods() {
//        LambdaQueryWrapper<Goods> queryWrapper = new LambdaQueryWrapper<>();
        QueryWrapper<LdrGoods> queryWrapper = new QueryWrapper<>();

        return this.list(queryWrapper);
    }
}
